package com.graph;

import java.util.List;

public class AreaCalculator {
	static public double totalArea(List<AbstractShape> cs) {
		double total = 0;
		for(AbstractShape c : cs) {
			total += c.area();
		}
	
		return total;
	}

}
